package com.zzb.object;

import java.util.Scanner;

public class Test1 {

    public static void main(String[] args) {
        Phone phone = new Phone();
        Scanner sc = new Scanner(System.in);
        System.out.println("输入手机品牌：");
        phone.setBrand(sc.next());
        System.out.println("输入手机价格：");
        phone.setPrice(sc.nextInt());
        System.out.println("输入手机颜色：");
        phone.setColor(sc.next());
        phone.call();
        phone.sendMessage();
    }

}
